﻿<%@ page contentType="text/html;charset=UTF-8"%>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<table border="0" cellpadding="0" cellspacing="0" width="100%" align="center">
    <html:form action="/tech.mrqa">
    <c:if test="${questiono != null}">
        <c:set var="catId" value="${questiono.mrIaskCategory.id}"/>
    </c:if>
    <c:if test="${param.catId != null}">
        <c:set var="catId" value="${param.catId}"/>
    </c:if>
    <input type="hidden" name="catId" value="<c:out value="${catId}"/>"/>
    <input type="hidden" name="action" value="preadd"/>
    <input type="hidden" name="categoryType" value="2"/>
    <tr>
        <td width="230" valign="bottom"><img src="qa/images/mr-qa-logo.gif" border="0" alt="问吧"></td>
        <td style="background:url(qa/images/005.gif) repeat-x top left;" valign="bottom">
            <table border="0" cellpadding="0" cellspacing="0" width="100%" align="center">
                <tr height="19">
                    <td></td>
                    <td rowspan="2" width="200" align="right" valign="top">
                    	<a href="/"><img src="qa/images/mr-homepage.gif" border="0" alt="MR首页"></a>
                    	&nbsp;&nbsp;
                      <html:link page="/search.html"><img src="qa/images/mr-search-homepage.gif" border="0" alt="MR搜索"></html:link>
                      &nbsp;&nbsp;
                    </td>
                </tr>
                <tr>
                		<td align="left" valign="top">
                        <table align="center" cellpadding="0" cellspacing="0" border="0" width="250">
                            <tr>
                                <td><img src="qa/images/search.gif" border="0" alt="" align="absbottom"></td>
                                <td>&nbsp;&nbsp;</td>
                                <td><input type="text" name="title" size="30" value="<c:out value="${questionf.title}"/>" maxlength="30" style="height:18;width:150px;"></td>
                                <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
                                <td><input type="image" src="qa/images/tech-search.gif" onclick="this.form.action.value = 'search';"/></td>
                                <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
                                <td><input type="image" src="qa/images/iask-addquestion.gif"/></td>
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr>
                    <td colspan="2" height="5"/>
                </tr>
            </table>
        </td>
    </tr>
    </html:form>
</table>
